<?php $this->load->view('pages/head'); ?>
<body>
<?php $this->load->view('pages/header'); ?>
	<div class="container-fluid" style="margin-top: 20px;">
		<form action="<?= base_url('/users/add'); ?>" method="post">
			<fieldset>
				<legend>新增用户</legend>
				<div class="clearfix">
					<label for="name">用户名称</label>
					<div class="input">
						<input class="input-small" data-val="true" data-val-required="用户名称为必填项" id="name" name="name" type="text" />
					</div>
				</div>
				<div class="clearfix">
					<label for="password">用户密码</label>
					<div class="input">
						<input class="input-small" data-val="true" data-val-required="用户密码为必填项" id="password" name="password" type="password" />
					</div>
				</div>
				<div class="clearfix">
					<label for="account">余额</label>
					<div class="input">
						<input class="input-small" data-val="true" data-val-required="余额为必填项" id="account" name="account" type="text" />
					</div>
				</div>
				<div class="clearfix">
					<label for="dept_id">部门</label>
					<div class="input">
						<input class="input-small" data-val="true" data-val-required="部门为必填项" id="dept_id" name="dept_id" type="text" />
					</div>
				</div>
			</fieldset>
		</form>
	</div>
<?php $this->load->view('pages/foot'); ?>
</body>